/**************************************************************************
 * $RCSfile: $  $Revision: $  $Date:  $
 *
 * $Log: $
 **************************************************************************/
/*
 * Copyright 2008 gxlu, Inc. All rights reserved.
 * File name : MYSQL5Dialect.java
 * Created on : Nov 17, 2013 10:09:00 PM
 * Creator : freeyfh
 */
package com.simplefan.meta.engine.jdbc.mysql;

import org.hibernate.MappingException;
import org.hibernate.dialect.MySQL5Dialect;

/**
 * <pre>
 * Description : TODO
 * @author freeyfh
 * </pre>
 */
public class MYSQL5Dialect extends MySQL5Dialect {
  
  @Override
  public String getSequenceNextValString(String sequenceName) throws MappingException {
    return "select  nextval('"+sequenceName+"')";
  }
}

